import request from "@/utils/request";
import {ResetPasswordParam} from "@/pages/UserSettings/data";

export async function resetPassword(params: ResetPasswordParam) {
  return request('/api/v1/user/password', {
    method: 'POST',
    data: {
      ...params,
    },
  });
}
